package com.zhang.crm.mapper;

import com.zhang.crm.pojo.TUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TUsermapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TUser record);

    int insertSelective(TUser record);

    TUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TUser record);

    int updateByPrimaryKey(TUser record);

    TUser selectUserByUsername(String loginAct);

    List<TUser> selectUserByPage();

    Integer deleteUserBatch(@Param("userIds") List<String> userIds);

    List<TUser> selectUserName();

}